package com.ai.module.user.domain.entity;

import com.ai.module.chat.common.domain.BaseEntity;
import com.ai.module.mj.constant.enums.TaskAction;
import com.ai.module.mj.constant.enums.TaskStatus;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author: MrHe
 * @create: 2023-09-02 10:22
 * @description: 用户上传的图片
 **/
@Data
@TableName("user_task")
public class UserTaskEntity extends BaseEntity {

    @TableField("user_id")
    private String userId;

    @TableField("task_id")
    private String taskId;

    @TableField("robot_id")
    private String robotId;

    @TableField("prompt")
    private String prompt;

    @TableField("action")
    private TaskAction action;

    @TableField("status")
    private TaskStatus status = TaskStatus.SUBMITTED;

    @TableField("final_prompt")
    private String finalPrompt;

}
